package alp.starcode.sanping.framework.database.mariadb.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * version(版本表)
 * </p>
 *
 * @author Clxini
 * @since 2024-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("version")
public class Version implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 版本号
     */
    @TableId(value = "version", type = IdType.INPUT)
    private String version;

    /**
     * 版本内容
     */
    private String versionContent;

    /**
     * 是否提醒
     */
    private Boolean isWarn;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateTime;


}
